﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Crossroad.System.Admin.Model
{
    ///<summary>
    ///角色关联菜单操作
    ///</summary>
    [SugarTable("admin_role_join_menu_option")]
    public partial class RoleJoinMenuOption : ModelContext
    {
        public RoleJoinMenuOption()
        {
        }

        /// <summary>
        /// Desc:角色id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, ColumnName = "role_id")]
        public int roleId { get; set; }

        /// <summary>
        /// Desc:权限值
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string value { get; set; }

        /// <summary>
        /// Desc:菜单id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, ColumnName = "menu_id")]
        public int menuId { get; set; }

        /// <summary>
        /// Desc:操作id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, ColumnName = "option_id")]
        public string optionId { get; set; }

    }
}
